<?php
class faecher_model extends CI_Model {

	public function __construct()
	{
		$this->load->database();
	}
	
	public function get_faecher()
	{
		$query = $this->db->get('faecher');
		return $query->result_array();		
	}
	
	public function get_count()
	{
		return $this->db->count_all_results('faecher');
	}
}
?>